package com.example.dw.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 课程类型实体类
 * @author system
 * @since 2024-01-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("course_type")
public class CourseType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 课程类型ID
     */
    @TableId(value = "courseTypeid", type = IdType.AUTO)
    private Integer courseTypeid;

    /**
     * 课程类型名称
     */
    @TableField("courseType")
    private String courseType;

    /**
     * 课程类型头像
     */
    @TableField("courseTypeAvatar")
    private String courseTypeAvatar;

    /**
     * 创建时间
     */
    @TableField("createdAt")
    private LocalDateTime createdAt;
} 